//
//  RCVoiceCell.swift
//  RunChuanThermometer
//
//  Created by 李东 on 2024/4/18.
//

import UIKit

class RCVoiceCell: UICollectionViewCell {
    
    static let CellID = NSStringFromClass(RCVoiceCell.self)
    
    @IBOutlet weak var iconImgView: UIImageView!
    
    @IBOutlet weak var nameLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
    }
    
    var model: RCVoiceModel! {
        didSet {
            nameLabel.text = model.name
            iconImgView.image = UIImage(named: model.name)
        }
    }

}
